.error-files-list-container {
  height: 200px;
  overflow: hidden;
  padding: 8px;
  border-top: 1px solid var(--requestly-color-white-t-10, rgba(255, 255, 255, 0.06));
  flex-shrink: 0;

  .error-files-list-header {
    color: var(--requestly-color-text-subtle);
    font-size: var(--requestly-font-size-xs);
    font-weight: var(--requestly-font-weight-medium);
    line-height: 13px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;

    svg {
      color: var(--requestly-color-error);
      width: 16px;
      flex-shrink: 0;
    }
  }

  .error-files-list-body {
    overflow-y: auto;
    height: 100%;
    padding-bottom: 16px;
  }

  .error-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4, 8px);
    color: var(--requestly-color-text-subtle);
    font-size: var(--requestly-font-size-xs);
    font-weight: var(--requestly-font-weight-medium);
    line-height: 13px;
    letter-spacing: 1px;
    padding: var(--space-3, 6px) var(--space-4, 8px);
    border-radius: 4px;
    height: 25px;
    cursor: pointer;

    .error-file-icon {
      width: 16px;
      flex-shrink: 0;
    }

    span {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      flex: 1;
    }

    &:hover {
      background: var(--requestly-color-white-t-10);
      .error-file-item-actions {
        display: flex;
      }
    }

    .error-file-item-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      display: none;

      .error-file-item-action-icon {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        cursor: pointer;
        color: var(--requestly-color-text-subtle);

        &:hover {
          color: var(--requestly-color-text-default);
        }
      }
    }
  }
}

.file-delete-confirmation-container {
  .file-delete-confirmation-title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--requestly-font-size-sm);
    font-weight: var(--requestly-font-weight-medium);
    color: var(--requestly-color-text-default);

    svg {
      color: var(--requestly-color-error);
      width: 16px;
      flex-shrink: 0;
    }
  }

  .file-delete-confirmation-description {
    font-size: var(--requestly-font-size-xs);
    color: var(--requestly-color-text-subtle);
    margin-top: 8px;
    width: 248px;
  }
}

.file-delete-confirmation-btn.ant-btn {
  font-size: var(--requestly-font-size-xs);
  font-weight: var(--requestly-font-weight-medium);
}
